package com.jd.platform.gobrs.client.hcache;

/**
 * @program: gobrs
 * @ClassName Wrapper
 * @description:
 * @author: sizegang
 * @create: 2022-01-09 00:22
 * @Version 1.0
 **/
public interface Wrapper<T> {

    Object getValue(String key);

    /**
     * @param key
     * @param defaultValue 默认值 如果查询结果不存在
     * @return
     */
    Object getValue(String key, Object defaultValue);

    Object doGetValue(String key);



}
